Fixed add method, codestyle