added formatting, time and string function