Removed unecessary statement in prompt function