Corrected syntax errors with my keysize code