boundary and ship cross methods added