added xp stuff