fixed extend method