add is_online and is_available method