Remove duplicated functions from draft(use prelude)