added floats and margins