changed method name to compute and modified myresult