moved darling specific things to main project