Working on a new way to return the element and functions