begin work on JS/CS portion