changed xp stuff to use utility methods. cursor now drains xp