hereimplimented the ghost mode option