remove unused variables
remove unused functions
remove unnecessary include
fix depricated initialization
use precomputed result
remove unused code
remove unused functions
remove unused functions
fix encoding