Basic onEnter implementation (issue #4)