added validation in shipAccept