Simplify code a bit by changing instances of: