Temporary prints + bug fix.