Simplified the base template