add sqrt support