widget template revised