Switched to cond to make it a little bit better