Temp function.