implemented the parcelable interface
added an empty constructor