Princ William will be on hand for royal tasks