Added method to insert computed fields