thanks llrcombs - so the problem was that i was storing it as a string?