move element into separate script.