implemented basic expression templates