making saveing to server work
simplify rendering a bit