smooth motion working, buggy