Fixed: removed extra unnecessary append statement