various coding samples