finished sing dark comp, started adding darks to res, need to convert arrays to do loops, use subroutine for common code to all integrations, need to check form for dark comps