added getScheme implementation