first attempt to make movement device-independent