Pointing to correct location for function