added select name option and build