added option to take build or model id