adding uniform element
adding beside
rewriting element with a more functional style