allowed prison officials to leave early so that he could conduct the handover to the next shift on his own there must have been an impure motive