add function get general information