This is not pseudo code anymore. It kinda works sorta