Could use postfix ifs for these.