Before adding api