adding plotting implementation..