Changed variable names to more suitable names
Removed unnecessary imports