updated. need a way to store direction.