fixing and testing
resolved errors and removed enter button