algorithm stub
updated math