How do I make a program that has both x, and y sharing because this won't work! :(((