made the code snippets more readable on readme