trying to work out computed fields