Fix value functions, put things together