keys for ofapp.cpp rewrite