Argument `$wheight` is unused anyway, so i'm not sure if you want to do a conditional way to use a unused argument ;)