updated to use prototypes
added new files to commit