Type loop not working yet.