XP API

This has the non-working API... I'm not sure exactly what is wrong with it... if any of you know whats wrong let me know..