end problem