all format functions implemented