add eclipse compat