implement 3x3 value fuctions