trying with jpg figures