corrections from last weeks meeting
fixed result value display and constraints