formatting + hijack function for testing