Refactor for double colon