putting it on the correct element