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