updated function decorations