Couple early pieces of code