changed floats to absolute position