Fixed undefined error for Date and time and added crime type