adding some function