added funvtions