2. is much cleaner and straight forward.