Add functions

News functions and bug fixes