refactoring Doormen, adding some constants and methods to reduce
repeating of some code