Wait_for_key_elements

Some library type stuff