ship detection and placement working