checking your code for improvements and suggestions