Function to print status added. Added pr2392 example