add time sort of works