Why is solution 1. preferred to solution 2. ? Give me pro and cons for both methods.