Used more apparent variable names, used imports to reduce verbosity