replacing necessary dependency