It is ok. But I don't understand why you call append three times..