static members homework, quality code