added error checking for estimate types