Added append functionality