started BF implementation