Added enter function