Add suggestions from the stack overflow community

The code is still nonfunctional.