Changed return type from void to BOOL