Implemented the controlelr to ba able to return a result set to the
frame