made it work in eclipse