adding elem option

@calvinfo added the elem bit plus tests, can you double check me? thanks so much man