Split features into functions