added option for showing present state