moved floating to components