Added checking of colissions