added data methods to element

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>