method convert