work on check_out method in library class