changed converter method to static