Got things compiling, but time-related code needs reconsidered & implemented