added new styles and worked with datetime