CM Shell: shifted functions to interface for code reuse.