removed unsafe methods