re-ordering dependency install