why not just use if statements? why invent the wheel twice?