modified the approach a bit