Code exercise for LegitScript application