removed dublication func call