fixed all of bullshit code and made it playable