taking name arguement
erb rendering