add create/lookup functionality