This is the C file for A Functionality