added controls for comet