add options to appendSubView