datetime
added more functionality frontend