-adding somes function in plot