add function 'setAbsolute' and creat function 'bounce' that isn't completed