made instructions a directive itself. seems to be working fine in main view. need to add it into the graph... and log view.. seperately