common methods, string, device and so on