class extend and property