Bound "enter" to generation function