simplify code :P