added in enter button functionality