slower but working cd for ships, must be optimized