template for medium difficulty