adding smart format for web app