Cleared code
injecting dependency old way