unresolved function warning added