reduce dependecy of code