motion class