adding time element to posts