master: add functions return their elements