implementation of the want command
