added basic menu behaviour