but approaching it like php is the wrong way to go