foo
nicer error message
fix port