Shorter code
Remove duplication