Copy-paste error

Note: do try to implement without repetition