Need to implement cs function and then refactor the new functions code as well as remove code duplication and verify project specs are met.