Prepared status table function.

Not compiling!