implementations of statement processing