removed local print for using just as module.