forgot the prototype to make public functions