added import of amax
added import of amax
remove sum or c number