Please check my function,
Tell my function right or not, And if not please tell me how to correct
