Enter Function

entered function to work with