implemented _com functionality to normal UDF where possible - issue 2