added function headers