separate code from docs