Divide stuff into two templates