do not nest if-statements in if-statements