Add methods setValue & getValue