changed val to a decimal field to let the decay function work properly