changed params access and added details for build case