implemented status command