added dependency functions