switch an unless/else and fix indentation and language