Just added some System-out to check stuff.