moved to erb extensions for var insertion