updated to work with xamarin studio