trying to get rid of prompt