write all method and property