All methods and tests finished. Try to fix the casting warning now