print method moved to organize docs