shitty code but important update for now