could use === instead of ==, but i'm sure this works fine