added composite func
added composite fix