Program can now run in eclipse