edit calculating dala