new functions to be programmed: motion and spoiler