:zap: condition for setting height