added ratio
added complex