Finished coding the lookup content functionality