A different approach to a project a friend of mine implemented