implemented buggy moving