added option to add to custom view