reading template startup nearly debugged