change dep function signature