Added local variables to #enter