Missing a parent attribute here. Also, a 1 second delay should be fine