apply mark's suggestion