Utilities (maybe for code window)