changed input developing and created screen clear method