semi working example... basic template done...