Added check collision