copy functions for lists and token added. grammar updated