views: code standardization & documentation