Static keyword missing + code formatting