added floatimage class