port to MonoGame part 1