op rand encapsulation. maybe stupid/useless