added and converting A* to work with transforms