why doing this twice?