BZ-9999 added logging and status checking