renamed if to maybe