add status indicatior, fix indentation