removed useless code, now that start and end are checked by the client