we should try to use mix:created and mix:lastModified for this instead of custom code