implemented animation, still buggy