using sigmoid for liquid