fixed compile error by defining all defaults; this needs to be fixed