first attempt at understanding active records