Works for a simple case