Added duplicate functionality and started append