add support for using nibs