adding notes from szeliski