use require as a language construct instead of as a function
fix intentation