sperate format ; add view resolver