making contents an array