function causing runtime error

Printable View