adding types header
now appears to work