added data logic diagram and short notes