Why not? That seems like a perfectly function way to do this.