fixed case sensitivity and code formatting