migrating name to more pythonic version; removing final, unnecessary import