*added dependency declared check
*added some error handling to main manager method