added the add/del/rotate functions

need to refine soem stuff