added init and fetch