changed 'data' to a protected variable so you must go through the magic setter function to modify any class variables rather than being able to bypass it through array access