Refactor of render, making it into smaller methods