auto sequence added (still needs some work)