add dependency for linear and ship model