make the code concise