removed debug line and implemented clearing prompt