openForAll in Entry, refactoring