add more instructions and test cases