code refectory by Bit