Added chip2 implementation