im an idiot this should work