added preprocessing ifs for debugging