function called from body BELOW div