finish implementation of SHIFT_TABLE & it's funcionalities