Some codes I wanted to add