Fixed to run from Eclipse