small code enhancement