Separate side effects from pure functions and add more images