part of basic template done