basic pattern evaluation is working correctly