additional functions,array remove incomplete and all functions not debugged