Declaration of pointer pos is not needed now..