Please try to be consistent with style. Curly braces at the end of a line where the block starts, space before the curly brace, two space indents, don't use avoid abbreviations, don't use things like "arg0", etc.