refactoring: extract method calculeClef