created the cra file
got add function to run without an error