removed trash files and added an aprox. to function declaration