make the code shorter