updaed record.h with correct prototypes functions