modifications at onLoad method