added prototypes for new funstions