Changed result of boolean to int... Gah