first implementation of complex script view controller