mod to private methods