Implementing render
Cleaned up whitespace.