get rid off using element function