remove comments
better gate collision