apply codereview.appspot.com/7393044