Small correction:

  • function content()

should be - void content()