New template. Most functionallity