formatting and added doors to enum+scan