my compiler needs a cast there