basic structure, get a list of cals
fix deps