please create base view and declare regions. And use them here instead of $