better errors given