Library for element operation