unnecessary "extends Serializable" removed