Coding exercise for Pellucid