removed date formating function