Cleaned up variable declaration
fixed naming inconsistency