Whoops this should be inside the if