this is a small project given as part of an interview for an old job