Print containing function