revert to fix conflicts, i'll fix it all later. This reverts commit 385bb2eb. Change-Id: Ie0a995b185c3354ff369fce87f73810c1027a0b2