change mark-function return type