changed the type of indent from spaces of three to tabs
changed function names