added partial content and widget functions