tested with other examples