invokes render on initialization