adding float style mode