please change unit to minutes or change implementation accordingly