adding GetStatus functionality