added get OP function
printing works