Added chain calculator