added functions speed and numberOfBombs