almost solved the friction problem