partial in-line functions