removed append code