Add class to handle float