Working version of problems