Added basic render functionality