exported main rd functions, added first examples