switch types around to be actually correct