move it to a plugin