simplify code for keeping style