updated to include a formula