coded what i think will be the first figure