carcas for function: get_free_time, search_free_time