Resolved Deprecation Warning