added fragmsgsize variable