an easy way for developing complicated view controller