adding elements framework