split functions Format.. from public to public2