Added dep as optional