Implemented checking program result