Added basic rendering functionality