Template and some general lazy code