Added header definitions of public functions