Changed variables to lowercases