a version that compiles!