correcting the statment and adding it to static as well