rewrite the code in a better way