implemented and built plots