inputs done, decrease bug