improved frames of elements