My php is terrible, apparently