Started implementing preferences