Added basic stuff
Added more loops