i think there may be a cleaner way to do this.... Less if's, but i can't seem to think of it this early...