Security check and a little alteration to the hours-table