done the basic rendering