implemented current status

code is pretty messed up in some places