made a base handler for adaptive problems