start to implement instruction type identification