prettified the code and resources