changed if to === instead of ==