individual code snipits