Added element library functionality