geeksams refactoring example a adapted to our devenv