minor method improvement