x and y coords are now passed as parameters and their stati instances are no longer needed and have been commented out for now. Fixed a major nug in the previous commit.