Removing unused import

ALSO: Implementing code that works in API 1 rather than API 17