added variables to inicialization