added style checks and reformatted mojos