begining of the bloc manager