add dp and rec version