Got next/last times working
i did things i'm not proud of