Removed dublicated function