computational stuff for the report