get initial rendering working