adding some notable code tidbits that may be useful later